package io.renren.modules.eas.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.eas.dao.EasBasicStuDao;
import io.renren.modules.eas.entity.EasBasicStuEntity;
import io.renren.modules.eas.service.EasBasicStuService;


@Service("easBasicStuService")
public class EasBasicStuServiceImpl extends ServiceImpl<EasBasicStuDao, EasBasicStuEntity> implements EasBasicStuService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<EasBasicStuEntity> page = this.page(
                new Query<EasBasicStuEntity>().getPage(params),
                new QueryWrapper<EasBasicStuEntity>()
        );

        return new PageUtils(page);
    }

}